<?php
	include 'gwtdata.php';
	try {
		$email = "username@gmail.com";
		$password = "******";
		# If hardcoded, don't forget trailing slash!
		$website = "http://www.domain.com/";
		
		$gdata = new GWTdata();
		if($gdata->LogIn($email, $password) === true) 
		{                       
			$gdata->DownloadCSV($website);                  
		}
	} catch (Exception $e) {
		die($e->getMessage());
	}
?>